faceCascadePath = "cascades/haarcascade_frontalface_default.xml"
faceCascade = cv2.CascadeClassifier(faceCascadePath)
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
faceRects = faceCascade.detectMultiScale(gray, scaleFactor=1.1,
                                         minNeighbors=5,minSize=(30,30),\
                                         flags = cv2.CASCADE_SCALE_IMAGE)
videoPath=""
video = cv2.VideoCapture(videoPath)
(grabbed,raw_frame) = video.read()
frame = cv2.resize(raw_frame,dim,interpolation=cv2.INTER_AREA)
eyeRects = eyeCascade.detectMultiScale(faceROI,\
                                            scaleFactor = 1.1, \
                                            minNeighbors = 10, \
                                            minSize = (20,20), \
                                            flags = cv2.CASCADE_SCALE_IMAGE)
video.release()
cv2.destroyAllWindows()